<%@page import="bean.boardDTO"%>
<%@page import="bean.boardVO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>게시글 쓰기</title>
<link rel = 'stylesheet' href = "board.css">
<script src = 'board.js'></script> 
</head>
<body>
<jsp:useBean id ='vo' class='bean.boardVO' scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<form name="hiddenFrm" method="post">
		<input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/>
		<input type="hidden" name="nowPage"	value="<%=vo.getNowPage()%>"/>
		<input type="hidden" name='find' value='<%=vo.getFind()%>'/>
</form>
<h1> 글 작성 </h1>
	<div class = 'list_title'>
	<div>아래 항목을 빠짐없이 기입하여 주세요.</div>
	</div>
<hr>
<br>
<form action="list.jsp" name = 'write_form' method="post" enctype="multipart/form-data">
<label class = 'lbl'>아 이 디</label>
<input type = 'text' size = '10' name ='m_id' maxlength ='20' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>비밀번호</label>
<input type = 'password' size = '10' name ='b_pw' maxlength ='20' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>비밀번호확인</label>
<input type = 'password' size = '10' name ='b_pwcheck' maxlength ='20' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>제 목</label>
<input type = "text" size = '60' name ='b_title' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>내 용</label><br/>
<textarea cols="80" name="b_content" rows="20" style="margin-left: 104px; margin-bottom: 3px;"></textarea><br/>
<label class = 'lbl'>이 미 지</label>
<input type = "file" name ='b_image' style="margin-bottom: 3px;"/><br/>
<input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/>

<br>
<hr/>
<div id ="bottom" > 
	<input type="button" id="btnclear" value="내용 전체삭제" />
	<input type="button" id="btnList" value="목록으로" style="margin-right: 460px;" />
	<input type="button" id="btnSave" value="완료" /></div>
</form>
<br>
</body>
<script>inputInit();</script>
</html>